package com.cloudbroker.bcs.platform.dav.middle.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs.result.ExtendAppBuyedListData;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs.result.ExtendAppWithPlugsResult;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs.vo.ExtendAppBuyedListDbForm;
import com.cloudbroker.bcs.platform.dav.middle.dao.base.TenantDAOBase;
import com.cloudbroker.bcs.platform.dav.middle.entity.ExtendApp;
import com.cloudbroker.bcs.platform.dav.middle.entity.ExtendAppGroup;

public interface ExtendAppDAO extends TenantDAOBase<ExtendApp, String>{
	
	List<ExtendAppBuyedListData> listWithPlugs(ExtendAppBuyedListDbForm form);
	Integer listCountWithPlugs(ExtendAppBuyedListDbForm form);
	void deleteByCondition(@Param("key") String key,@Param("tenant_id") Integer tenant_id);
	Long getMaxSort(ExtendApp form);
	void deleteAll();
	ExtendAppWithPlugsResult getAppPropById(ExtendAppGroup extendAppGroup);
}
